package com.westar.base.model;

import com.westar.base.annotation.DefaultFiled;
import com.westar.base.annotation.Filed;
import com.westar.base.annotation.Identity;
import com.westar.base.annotation.Table;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import java.io.Serializable;
import java.util.Date;

/**
 * 账号错误记录
 *
 * @author Administrator
 * @ClassName： AccountLimit
 * @Descrpition： 账号错误记录
 */
@Table
@JsonInclude(Include.NON_NULL)
public class AccountLimit implements Serializable {

    /**
     * id主键
     */
    @Identity
    private Integer id;

    /**
     * 记录创建时间
     */
    @DefaultFiled
    private String recordCreateTime;

    /**
     * 账号
     */
    @Filed
    private String account;

    /**
     * 限定时间
     */
    @Filed
    private String limitTime;

    /**
     * 信息提示
     */
    @Filed
    private String msg;

    /****************以上主要为系统表字段********************/

    /****************以上为自己添加字段********************/

    /**
     * id主键
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * id主键
     *
     * @return Integer
     */
    public Integer getId() {
        return id;
    }

    /**
     * 记录创建时间
     *
     * @param recordCreateTime
     */
    public void setRecordCreateTime(String recordCreateTime) {
        this.recordCreateTime = recordCreateTime;
    }

    /**
     * 记录创建时间
     *
     * @return String
     */
    public String getRecordCreateTime() {
        return recordCreateTime;
    }

    /**
     * 账号
     *
     * @param account
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 账号
     *
     * @return String
     */
    public String getAccount() {
        return account;
    }

    /**
     * 限定时间
     *
     * @param limitTime
     */
    public void setLimitTime(String limitTime) {
        this.limitTime = limitTime;
    }

    /**
     * 限定时间
     *
     * @return String
     */
    public String getLimitTime() {
        return limitTime;
    }

    /**
     * 信息提示
     *
     * @param msg
     */
    public void setMsg(String msg) {
        this.msg = msg;
    }

    /**
     * 信息提示
     *
     * @return String
     */
    public String getMsg() {
        return msg;
    }
}
